
<center>
<h2> Admin - Privileges Assignment </h2>
<table class="mywikiview" border="1" width="80%">
 <thead>
   <tr> 
     <th> User </th>
     <th> Create Privileges </th>
     <th> Delete Privileges </th>
     <th> Edit Privileges </th>
     <th> Read Privileges </th>
     <th> &nbsp; </th>
   </tr>
 </thead>
 <tbody>
 <% for user in @users %>
  <tr class="mywikiview">
    <td class="mywikiview" align="center"><%=h user.user %></td>
    <td class="mywikiview" align="center"><%=h user.c_priv %></td>
    <td align="center"><%=h user.d_priv %></td> 
    <td align="center"><%=h user.e_priv %></td> 
    <td align="center"><%=h user.r_priv %></td> 
    <td align="center"><%= link_to 'Edit', :action => 'edit', :id => user.id %></td>
  </tr>
 <% end %>
 </tbody>
</table>
</center>